<?php
	$conn = mysql_connect("127.0.0.1:3307","root","");
	if ($conn) {
		mysql_select_db("hellophp", $conn);
		$sql = "insert into article(title, content) values('".$_GET['title']."','".$_GET['content']."')";
		// echo $sql;
		mysql_query($sql);
		mysql_close($conn);
		header('Location: list.php');
	}

?>